<!DOCTYPE html>
<html>
<head>
<title>登录 - {config[webname]} - {config[webtitle]}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="{config[keyword]}">
<script type="text/javascript" src="js/jquery-ui-1.8.16/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<link rel="stylesheet" type="text/css" href="styles/common.css" />
<link rel="stylesheet" type="text/css" href="styles/table.css" />
<script type="text/javascript">
$(document).ready(function(){
	$.get("a.php?a=vcode_get",function(data){$("#vcode").val(data);});
});
</script>
<style>
.f1{
	float:left;
	width:600px;
	border-right:1px dotted black;
}
.f1 label{
	width:30px;
}
.f1_field input{
	width:250px;
}
</style>
</head>
<body>
<!--#include file="header.html"-->
<div style="height:50px;"></div>
<div class="f1">
	<form action="login.php?refer={run:}echo urlencode($_GET[refer]);{/run}" method="post">
		<input type="hidden" name="vcode" id="vcode">
		<div class="f1_header">登录</div>
		<div class="f1_content">
			<!-- if($err) --><div class="f1_row" style="color:red">{err}</div><!-- end -->
			<div class="f1_row">
				<label>邮箱</label>
				<span class="f1_field"><input maxlength="50" name="mail" value="{_POST[mail]}"></span>
			</div>
			<div class="f1_row">
				<label>密码</label>
				<span class="f1_field">
					<input type="password" maxlength="50" name="pwd" value="{_POST[pwd]}">
					<a href='resetpwd.php' style="margin-left:10px;color:gray">忘记密码？</a>
				</span>
			</div>
			<div class="f1_row">
				<label></label>
				<span class="f1_btn"><input class="btn" type="submit" name="login" value="登录"></span>
			</div>
		</div>
	</form>
</div>
<div style="float:left;font-size:14px;padding-left:20px;">
还没有帐号？<a href="register.php?refer={run:}echo urlencode($_GET[refer]);{/run}" style="color:blue;text-decoration:none;;margin-left:5px">创建一个帐号</a>
</div>
</body>
</html>